Dynomotion

Group: DynoMotion Message: 2726 From: rdabs54 Date: 12/17/2011
Subject: Kanalog Opto inputs always show high
Another noob question. The Kanalog I/O status screen (digital status) always shows the inputs 128 through 143 as high. They are reported as high in Mach3 also. I have a vague recollection that the manual addressed this, i.e. how to set them, but I can't seem to locate it. Thanks in advance for help.

Rick
Group: DynoMotion Message: 2727 From: Tom Kerekes Date: 12/17/2011
Subject: Re: Kanalog Opto inputs always show high
Hi Rick,
 
The General Purpose input pins on Kanalog IO 128-135 are high impedance (many meg ohms) CMOS LVTTL type inputs.  When not connected to anything they can float high or low pretty much at random.  You must connect them to something to drive them high or low if you want to use them.  Otherwise just ignore their state.
 
Additionally Mach3 only allows pin numbers (which we treat as IO numbers) to be numbered 0-127.  So to reference an IO number (such as these) greater than 127, subtract 128 and specify the port as Port 2.  So for example KFLOP IO 131 would be specified as Pin 3 Port 2 in Mach3. 
 
Regards
TK  

Group: DynoMotion Message: 2728 From: rdabs54 Date: 12/17/2011
Subject: Re: Kanalog Opto inputs always show high
Thanks Tom, I guess that I should have been more specific. I should have asked about the opto IO on JP15. Doesn't it need an input voltage across the + - to activate a high?. And thanks for the info, I'm sure it would have been my next question.

Best regards,

Rick

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Rick,
>  
> The General Purpose input pins on Kanalog IO 128-135 are high impedance (many meg ohms) CMOS LVTTL type inputs.  When not connected to anything they can float high or low pretty much at random.  You must connect them to something to drive them high or low if you want to use them.  Otherwise just ignore their state.
>  
> Additionally Mach3 only allows pin numbers (which we treat as IO numbers) to be numbered 0-127.  So to reference an IO number (such as these) greater than 127, subtract 128 and specify the port as Port 2.  So for example KFLOP IO 131 would be specified as Pin 3 Port 2 in Mach3. 
>  
> Regards
> TK  
>
> From: rdabs54 <rdabney@...>
> To: DynoMotion@yahoogroups.com
> Sent: Saturday, December 17, 2011 4:35 PM
> Subject: [DynoMotion] Kanalog Opto inputs always show high
>
>
>  
> Another noob question. The Kanalog I/O status screen (digital status) always shows the inputs 128 through 143 as high. They are reported as high in Mach3 also. I have a vague recollection that the manual addressed this, i.e. how to set them, but I can't seem to locate it. Thanks in advance for help.
>
> Rick
>
Group: DynoMotion Message: 2729 From: Tom Kerekes Date: 12/18/2011
Subject: Re: Kanalog Opto inputs always show high
Hi Rick,
 
Yes that is correct for the opto inputs.  So that doesn't sound right.
 
Try cycling the power to the board so it is in the default configuration.  Are they still high?  A common issue is that someone changes the configuration of the JP7 IO by either changing a bit direction or configuring as a Step/Dir Output.  When using Kanalog JP7 is dedicated to Kanalog.
 
Otherwise to other things on Kanalog work?  Is the LED on?
 
Regards
TK 
 
 

Group: DynoMotion Message: 2732 From: rdabs54 Date: 12/18/2011
Subject: Re: Kanalog Opto inputs always show high
Hi Tom,

Ok, the inputs go low after I re-energize the controller. Since I am using the system with a Kanalog, and I set the MUX bit to switch the step/direction to JP4,6, does this mean the opto I/O's will not be useable?
Thank you for your help,

Rick

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Rick,
>  
> Yes that is correct for the opto inputs.  So that doesn't sound right.
>  
> Try cycling the power to the board so it is in the default configuration.  Are they still high?  A common issue is that someone changes the configuration of the JP7 IO by either changing a bit direction or configuring as a Step/Dir Output.  When using Kanalog JP7 is dedicated to Kanalog.
>  
> Otherwise to other things on Kanalog work?  Is the LED on?
>  
> Regards
> TK 
>  
>  
>
> From: rdabs54 <rdabney@...>
> To: DynoMotion@yahoogroups.com
> Sent: Saturday, December 17, 2011 7:44 PM
> Subject: [DynoMotion] Re: Kanalog Opto inputs always show high
>
>
>  
> Thanks Tom, I guess that I should have been more specific. I should have asked about the opto IO on JP15. Doesn't it need an input voltage across the + - to activate a high?. And thanks for the info, I'm sure it would have been my next question.
>
> Best regards,
>
> Rick
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Rick,
> >  
> > The General Purpose input pins on Kanalog IO 128-135 are high impedance (many meg ohms) CMOS LVTTL type inputs.  When not connected to anything they can float high or low pretty much at random.  You must connect them to something to drive them high or low if you want to use them.  Otherwise just ignore their state.
> >  
> > Additionally Mach3 only allows pin numbers (which we treat as IO numbers) to be numbered 0-127.  So to reference an IO number (such as these) greater than 127, subtract 128 and specify the port as Port 2.  So for example KFLOP IO 131 would be specified as Pin 3 Port 2 in Mach3. 
> >  
> > Regards
> > TK  
> >
> > From: rdabs54 <rdabney@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Saturday, December 17, 2011 4:35 PM
> > Subject: [DynoMotion] Kanalog Opto inputs always show high
> >
> >
> >  
> > Another noob question. The Kanalog I/O status screen (digital status) always shows the inputs 128 through 143 as high. They are reported as high in Mach3 also. I have a vague recollection that the manual addressed this, i.e. how to set them, but I can't seem to locate it. Thanks in advance for help.
> >
> > Rick
> >
>
Group: DynoMotion Message: 2733 From: Tom Kerekes Date: 12/18/2011
Subject: Re: Kanalog Opto inputs always show high
Hi Rick,
 
The optos should be useable.
 
Make sure you are mux'ing the outputs over to JP4,6 before enabling the axes.
 
Regards
TK